Skip to content

feat: extracted packages: license-kit CLI and @callstack/react-native-legal-shared#44

Merged
artus9033 merged 37 commits intomainfrom
feat/extracted-logic-and-cli
Jun 18, 2025
Merged

feat: extracted packages: license-kit CLI and @callstack/react-native-legal-shared#44
artus9033 merged 37 commits intomainfrom
feat/extracted-logic-and-cli

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

@thymikee thymikee commented Jun 9, 2025

Summary

This diff adds following changes:

  • new package license-kit - a CLI for listing licenses and verifying whether the project uses copyleft ones (e.g. GPL)
  • new package @callstack/react-native-legal-shared - shared utils for react-native-legal and license-kit
  • alters the existing react-native-legal package ot use the common logic from @callstack/react-native-legal-shared
  • modifies the docs' landing page, nav menu, renames existing & adds additional pages
  • modifies README.md files across all packages
  • adds API docs for @callstack/react-native-legal-shared using @rspress/plugin-typedoc

New docs look:
docs-screen
image
image
image
image
image

Bulk of the work was done by @artus9033.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 9, 2025

🦋 Changeset detected

Latest commit: afb7f33

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
license-kit Minor
react-native-legal Minor
@callstack/react-native-legal-shared Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread docs/docs/docs/standalone-cli.mdx
Comment thread packages/license-kit/.editorconfig Outdated
Comment thread packages/license-kit/src/index.ts
Comment thread packages/react-native-legal/package.json
Comment thread packages/react-native-legal/plugin/src/android/withAndroidLegal.ts Outdated
Comment thread yarn.lock Outdated
Comment thread yarn.lock Outdated
Comment thread yarn.lock Outdated
Comment thread packages/license-kit/package.json Outdated
Comment thread packages/shared/package.json Outdated
@artus9033 artus9033 force-pushed the feat/extracted-logic-and-cli branch from e222341 to b9d675e Compare June 13, 2025 06:37
Copy link
Copy Markdown
Collaborator

@mateusz1913 mateusz1913 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I partially reviewed the PR and left a few comments. I'll do detail review during weekend or on monday

Comment thread CONTRIBUTING.md Outdated
Comment thread README.md Outdated
Comment thread packages/license-kit/package.json Outdated
@artus9033 artus9033 changed the title feat: new CLI package license-kit with shared deps extracted from main feat: extracted new CLI package license-kit with @callstack/react-native-legal-shared common logic Jun 13, 2025
@artus9033 artus9033 changed the title feat: extracted new CLI package license-kit with @callstack/react-native-legal-shared common logic feat: extracted packages: license-kit CLI and @callstack/react-native-legal-shared Jun 13, 2025
@artus9033
Copy link
Copy Markdown
Collaborator

Thanks @mateusz1913 , your findings are really helpful!

Comment thread README.md
Comment thread docs/components/CustomHomePage.tsx Outdated
Comment thread docs/docs/docs/programmatic-usage.mdx
Comment thread docs/docs/docs/programmatic-usage.mdx
Comment thread docs/rspress.config.ts Outdated
Comment thread packages/shared/README.md
Comment thread packages/shared/README.md
@artus9033 artus9033 merged commit 4ebed78 into main Jun 18, 2025
8 of 9 checks passed
@artus9033 artus9033 deleted the feat/extracted-logic-and-cli branch June 18, 2025 09:54
@github-actions github-actions Bot mentioned this pull request Jun 18, 2025
artus9033 added a commit that referenced this pull request Jun 18, 2025
artus9033 added a commit that referenced this pull request Jun 18, 2025
artus9033 added a commit that referenced this pull request Jun 18, 2025
@artus9033 artus9033 mentioned this pull request Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants